package com.fanchuan.uzx.rest;

public class UZXRest {
	public static String BASE_URL = "http://s-50666.gotocdn.com/server4mobile/list_api.php?";
	public static class LockObject {
		
		private boolean mResult = false;

		public void setResult(boolean result) {
			mResult = result;
		}

		public boolean getResult() {
			return mResult;
		}

		public void notifyResult() {
			synchronized (this) {
				notify();
			}
		}

		public void waitForResult(long millis) {
			synchronized (this) {
				try {
					wait(millis);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			}
		}
	}
}
